/**
  ******************************************************************************
  * File Name          : g405cmd.c
  * Description        : This file provides code for the configuration
  *                      of the g405 cmd instances.
  ******************************************************************************
  * @attention
  *
  ******************************************************************************
  */

/* Includes ------------------------------------------------------------------*/
#include <stdio.h>
#include "cat1.h"

static const char cat1_ok_rstr[] = "OK";

/********************    +++ppp   ******************************/
static const char cat1_ppp_cstr[] = "+++";
static const char cat1_ppp_rstr[] = "a";
const Cat1_CommandTyp cat1_cmd_ppp = 
{
    .cstr    = cat1_ppp_cstr,
    .rstr    = cat1_ppp_rstr,
    .timout  = 3000u,
    .rty     = 2,
    .rtytim  = 1000u,
		.cmdtype = SIMPLE_INS,
#ifdef SCRIPT_EXE
		.errjmp = NULL,
#endif
};

/********************    a   ******************************/
static const char cat1_a_cstr[] = "a";
static const char cat1_a_rstr[] = "+ok";
const Cat1_CommandTyp cat1_cmd_a = 
{
    .cstr    = cat1_a_cstr,
    .rstr    = cat1_a_rstr,
    .timout  = 3000u,
    .rty     = 2,
    .rtytim  = 1000u,
		.cmdtype = SIMPLE_INS,
#ifdef SCRIPT_EXE
		.errjmp = NULL,
#endif
};

/********************    Z   ******************************/
static const char cat1_z_cstr[] = "AT+Z\r\n";
const Cat1_CommandTyp cat1_cmd_z = 
{
    .cstr    = cat1_z_cstr,
    .rstr    = cat1_ok_rstr,
    .timout  = 3000u,
    .rty     = 2,
    .rtytim  = 1000u,
	  .cmdtype = SIMPLE_INS,
#ifdef SCRIPT_EXE
		.errjmp = NULL,
#endif
};

/********************    S   ******************************/
static const char cat1_s_cstr[] = "AT+S\r\n";
const Cat1_CommandTyp cat1_cmd_s = 
{
    .cstr    = cat1_s_cstr,
    .rstr    = cat1_ok_rstr,
    .timout  = 3000u,
    .rty     = 2,
    .rtytim  = 1000u,
	  .cmdtype = SIMPLE_INS,
#ifdef SCRIPT_EXE
		.errjmp = NULL,
#endif
};

/********************    E   ******************************/
static const char cat1_e_cstr[] = "AT+E=OFF\r\n";
const Cat1_CommandTyp cat1_cmd_e = 
{
    .cstr    = cat1_e_cstr,
    .rstr    = cat1_ok_rstr,
    .timout  = 3000u,
    .rty     = 2,
    .rtytim  = 1000u,
		.cmdtype = SIMPLE_INS,
#ifdef SCRIPT_EXE
		.errjmp = NULL,
#endif
};

/********************    ENTM   ******************************/
static const char cat1_entm_cstr[] = "AT+ENTM\r\n";
const Cat1_CommandTyp cat1_cmd_entm = 
{
    .cstr    = cat1_entm_cstr,
    .rstr    = cat1_ok_rstr,
    .timout  = 3000u,
    .rty     = 2,
    .rtytim  = 1000u,
		.cmdtype = SIMPLE_INS,
#ifdef SCRIPT_EXE
		.errjmp = NULL,
#endif
};

/********************    WKMOD   ******************************/
static const char cat1_check_wkmod_cstr[] = "AT+WKMOD\r\n";
static const char cat1_check_wkmod_rstr[] = "+WKMOD:";
const Cat1_CommandTyp cat1_cmd_check_wkmod = 
{
    .cstr    = cat1_check_wkmod_cstr,
    .rstr    = cat1_check_wkmod_rstr,
    .timout  = 3000u,
    .rty     = 2,
    .rtytim  = 1000u,
		.cmdtype = CHECK_PARA,
#ifdef SCRIPT_EXE
		.errjmp = NULL,
#endif
};

static const char cat1_set_wkmod_cstr[] = "AT+WKMOD=";
const Cat1_CommandTyp cat1_cmd_set_wkmod = 
{
    .cstr    = cat1_set_wkmod_cstr,
    .rstr    = cat1_ok_rstr,
    .timout  = 3000u,
    .rty     = 2,
    .rtytim  = 1000u,
		.cmdtype = SET_PARA,
#ifdef SCRIPT_EXE
		.errjmp = NULL,
#endif
};

/********************    CMDPW   ******************************/
static const char cat1_check_cmdpw_cstr[] = "AT+CMDPW\r\n";
static const char cat1_check_cmdpw_rstr[] = "+CMDPW:";
const Cat1_CommandTyp cat1_cmd_check_cmdpw = 
{
    .cstr    = cat1_check_cmdpw_cstr,
    .rstr    = cat1_check_cmdpw_rstr,
    .timout  = 3000u,
    .rty     = 2,
    .rtytim  = 1000u,
		.cmdtype = CHECK_PARA,
#ifdef SCRIPT_EXE
		.errjmp = NULL,
#endif
};

static const char cat1_set_cmdpw_cstr[] = "AT+CMDPW=";
const Cat1_CommandTyp cat1_cmd_set_cmdpw = 
{
    .cstr    = cat1_set_cmdpw_cstr,
    .rstr    = cat1_ok_rstr,
    .timout  = 3000u,
    .rty     = 2,
    .rtytim  = 1000u,
		.cmdtype = SET_PARA,
#ifdef SCRIPT_EXE
		.errjmp = NULL,
#endif
};

/********************    STMSG   ******************************/
static const char cat1_check_stmsg_cstr[] = "AT+STMSG\r\n";
static const char cat1_check_stmsg_rstr[] = "+STMSG:";
const Cat1_CommandTyp cat1_cmd_check_stmsg = 
{
    .cstr    = cat1_check_stmsg_cstr,
    .rstr    = cat1_check_stmsg_rstr,
    .timout  = 3000u,
    .rty     = 2,
    .rtytim  = 1000u,
		.cmdtype = CHECK_PARA,
#ifdef SCRIPT_EXE
		.errjmp = NULL,
#endif
};

static const char cat1_set_stmsg_cstr[] = "AT+STMSG=";
const Cat1_CommandTyp cat1_cmd_set_stmsg = 
{
    .cstr    = cat1_set_stmsg_cstr,
    .rstr    = cat1_ok_rstr,
    .timout  = 3000u,
    .rty     = 2,
    .rtytim  = 1000u,
		.cmdtype = SET_PARA,
#ifdef SCRIPT_EXE
		.errjmp = NULL,
#endif
};

/********************    RSTIM   ******************************/
static const char cat1_check_rstim_cstr[] = "AT+RSTIM\r\n";
static const char cat1_check_rstim_rstr[] = "+RSTIM:";
const Cat1_CommandTyp cat1_cmd_check_rstim = 
{
    .cstr    = cat1_check_rstim_cstr,
    .rstr    = cat1_check_rstim_rstr,
    .timout  = 3000u,
    .rty     = 2,
    .rtytim  = 1000u,
		.cmdtype = CHECK_PARA,
#ifdef SCRIPT_EXE
		.errjmp = NULL,
#endif
};

static const char cat1_set_rstim_cstr[] = "AT+RSTIM=";
const Cat1_CommandTyp cat1_cmd_set_rstim = 
{
    .cstr    = cat1_set_rstim_cstr,
    .rstr    = cat1_ok_rstr,
    .timout  = 3000u,
    .rty     = 2,
    .rtytim  = 1000u,
		.cmdtype = SET_PARA,
#ifdef SCRIPT_EXE
		.errjmp = NULL,
#endif
};

/********************    SDPEN   ******************************/
static const char cat1_check_spden_cstr[] = "AT+SDPEN\r\n";
static const char cat1_check_spden_rstr[] = "+SDPEN:";
const Cat1_CommandTyp cat1_cmd_check_spden = 
{
    .cstr    = cat1_check_spden_cstr,
    .rstr    = cat1_check_spden_rstr,
    .timout  = 3000u,
    .rty     = 2,
    .rtytim  = 1000u,
		.cmdtype = CHECK_PARA,
#ifdef SCRIPT_EXE
		.errjmp = NULL,
#endif
};

static const char cat1_set_spden_cstr[] = "AT+SDPEN=";
const Cat1_CommandTyp cat1_cmd_set_spden = 
{
    .cstr    = cat1_set_spden_cstr,
    .rstr    = cat1_ok_rstr,
    .timout  = 3000u,
    .rty     = 2,
    .rtytim  = 1000u,
		.cmdtype = SET_PARA,
#ifdef SCRIPT_EXE
		.errjmp = NULL,
#endif
};

/********************    NATEN   ******************************/
static const char cat1_check_naten_cstr[] = "AT+NATEN\r\n";
static const char cat1_check_naten_rstr[] = "+NATEN:";
const Cat1_CommandTyp cat1_cmd_check_naten = 
{
    .cstr    = cat1_check_naten_cstr,
    .rstr    = cat1_check_naten_rstr,
    .timout  = 3000u,
    .rty     = 2,
    .rtytim  = 1000u,
		.cmdtype = CHECK_PARA,
#ifdef SCRIPT_EXE
		.errjmp = NULL,
#endif
};

static const char cat1_set_naten_cstr[] = "AT+NATEN=";
const Cat1_CommandTyp cat1_cmd_set_naten = 
{
    .cstr    = cat1_set_naten_cstr,
    .rstr    = cat1_ok_rstr,
    .timout  = 3000u,
    .rty     = 2,
    .rtytim  = 1000u,
		.cmdtype = SET_PARA,
#ifdef SCRIPT_EXE
		.errjmp = NULL,
#endif
};

/********************    UATEN   ******************************/
static const char cat1_check_uaten_cstr[] = "AT+UATEN\r\n";
static const char cat1_check_uaten_rstr[] = "+UATEN:";
const Cat1_CommandTyp cat1_cmd_check_uaten = 
{
    .cstr    = cat1_check_uaten_cstr,
    .rstr    = cat1_check_uaten_rstr,
    .timout  = 3000u,
    .rty     = 2,
    .rtytim  = 1000u,
		.cmdtype = CHECK_PARA,
#ifdef SCRIPT_EXE
		.errjmp = NULL,
#endif
};

static const char cat1_set_uaten_cstr[] = "AT+UATEN=";
const Cat1_CommandTyp cat1_cmd_set_uaten = 
{
    .cstr    = cat1_set_uaten_cstr,
    .rstr    = cat1_ok_rstr,
    .timout  = 3000u,
    .rty     = 2,
    .rtytim  = 1000u,
		.cmdtype = SET_PARA,
#ifdef SCRIPT_EXE
		.errjmp = NULL,
#endif
};

/********************    CACHEN   ******************************/
static const char cat1_check_cachen_cstr[] = "AT+CACHEN\r\n";
static const char cat1_check_cachen_rstr[] = "+CACHEN:";
const Cat1_CommandTyp cat1_cmd_check_cachen = 
{
    .cstr    = cat1_check_cachen_cstr,
    .rstr    = cat1_check_cachen_rstr,
    .timout  = 3000u,
    .rty     = 2,
    .rtytim  = 1000u,
		.cmdtype = CHECK_PARA,
#ifdef SCRIPT_EXE
		.errjmp = NULL,
#endif
};

static const char cat1_set_cachen_cstr[] = "AT+CACHEN=";
const Cat1_CommandTyp cat1_cmd_set_cachen = 
{
    .cstr    = cat1_set_cachen_cstr,
    .rstr    = cat1_ok_rstr,
    .timout  = 3000u,
    .rty     = 2,
    .rtytim  = 1000u,
		.cmdtype = SET_PARA,
#ifdef SCRIPT_EXE
		.errjmp = NULL,
#endif
};

/********************    CSQ   ******************************/
static const char enet_csq_cstr[] = "AT+CSQ\r\n";
static const char enet_csq_rstr[] = "+CSQ:";
const Cat1_CommandTyp enet_cmd_csq = 
{
    .cstr    = enet_csq_cstr,
    .rstr    = enet_csq_rstr,
    .timout  = 3000u,
    .rty     = 2,
    .rtytim  = 1000u,
	  .cmdtype = QUERY_STAT,
#ifdef SCRIPT_EXE
		.errjmp = NULL,
#endif
};

/********************    SYSINFO   ******************************/
static const char cat1_sysinfo_cstr[] = "AT+SYSINFO\r\n";
static const char cat1_sysinfo_rstr[] = "+SYSINFO:";
const Cat1_CommandTyp cat1_cmd_sysinfo = 
{
    .cstr    = cat1_sysinfo_cstr,
    .rstr    = cat1_sysinfo_rstr,
    .timout  = 3000u,
    .rty     = 2,
    .rtytim  = 1000u,
	  .cmdtype = QUERY_STAT,
#ifdef SCRIPT_EXE
		.errjmp = NULL,
#endif
};

/********************    VER   ******************************/
static const char cat1_ver_cstr[] = "AT+VER\r\n";
static const char cat1_ver_rstr[] = "+VER:";
const Cat1_CommandTyp cat1_cmd_ver = 
{
    .cstr    = cat1_ver_cstr,
    .rstr    = cat1_ver_rstr,
    .timout  = 3000u,
    .rty     = 2,
    .rtytim  = 1000u,
	  .cmdtype = QUERY_STAT,
#ifdef SCRIPT_EXE
		.errjmp = NULL,
#endif
};

/********************    SN   ******************************/
static const char enet_sn_cstr[] = "AT+SN\r\n";
static const char enet_sn_rstr[] = "+SN:";
const Cat1_CommandTyp enet_cmd_sn = 
{
    .cstr    = enet_sn_cstr,
    .rstr    = enet_sn_rstr,
    .timout  = 3000u,
    .rty     = 2,
    .rtytim  = 1000u,
	  .cmdtype = QUERY_STAT,
#ifdef SCRIPT_EXE
		.errjmp = NULL,
#endif
};

/********************    IMEI   ******************************/
static const char enet_imei_cstr[] = "AT+IMEI\r\n";
static const char enet_imei_rstr[] = "+IMEI:";
const Cat1_CommandTyp enet_cmd_imei = 
{
    .cstr    = enet_imei_cstr,
    .rstr    = enet_imei_rstr,
    .timout  = 3000u,
    .rty     = 2,
    .rtytim  = 1000u,
	  .cmdtype = QUERY_STAT,
#ifdef SCRIPT_EXE
		.errjmp = NULL,
#endif
};

/********************    ICCID   ******************************/
static const char enet_iccid_cstr[] = "AT+ICCID\r\n";
static const char enet_iccid_rstr[] = "+ICCID:";
const Cat1_CommandTyp enet_cmd_iccid = 
{
    .cstr    = enet_iccid_cstr,
    .rstr    = enet_iccid_rstr,
    .timout  = 3000u,
    .rty     = 2,
    .rtytim  = 1000u,
	  .cmdtype = QUERY_STAT,
#ifdef SCRIPT_EXE
		.errjmp = NULL,
#endif
};

///********************    CNUM   ******************************/
//static const char enet_cnum_cstr[] = "AT+CNUM\r\n";
//static const char enet_cnum_rstr[] = "+CNUM:";
//const Cat1_CommandTyp enet_cmd_cnum = 
//{
//    .cstr    = enet_cnum_cstr,
//    .rstr    = enet_cnum_rstr,
//    .timout  = 3000u,
//    .rty     = 2,
//    .rtytim  = 1000u,
//	  .cmdtype = QUERY_STAT,
//#ifdef SCRIPT_EXE
//		.errjmp = NULL,
//#endif
//};


/********************    UARTFL   ******************************/
static const char cat1_check_uartfl_cstr[] = "AT+UARTFL\r\n";
static const char cat1_check_uartfl_rstr[] = "+UARTFL:";
const Cat1_CommandTyp cat1_cmd_check_uartfl = 
{
    .cstr    = cat1_check_uartfl_cstr,
    .rstr    = cat1_check_uartfl_rstr,
    .timout  = 3000u,
    .rty     = 2,
    .rtytim  = 1000u,
		.cmdtype = CHECK_PARA,
#ifdef SCRIPT_EXE
		.errjmp = NULL,
#endif
};

static const char cat1_set_uartfl_cstr[] = "AT+UARTFL=";
const Cat1_CommandTyp cat1_cmd_set_uartfl = 
{
    .cstr    = cat1_set_uartfl_cstr,
    .rstr    = cat1_ok_rstr,
    .timout  = 3000u,
    .rty     = 2,
    .rtytim  = 1000u,
		.cmdtype = SET_PARA,
#ifdef SCRIPT_EXE
		.errjmp = NULL,
#endif
};

/********************    UARTFT   ******************************/
static const char cat1_check_uartft_cstr[] = "AT+UARTFT\r\n";
static const char cat1_check_uartft_rstr[] = "+UARTFT:";
const Cat1_CommandTyp cat1_cmd_check_uartft = 
{
    .cstr    = cat1_check_uartft_cstr,
    .rstr    = cat1_check_uartft_rstr,
    .timout  = 3000u,
    .rty     = 2,
    .rtytim  = 1000u,
		.cmdtype = CHECK_PARA,
#ifdef SCRIPT_EXE
		.errjmp = NULL,
#endif
};

static const char cat1_set_uartft_cstr[] = "AT+UARTFT=";
const Cat1_CommandTyp cat1_cmd_set_uartft = 
{
    .cstr    = cat1_set_uartft_cstr,
    .rstr    = cat1_ok_rstr,
    .timout  = 3000u,
    .rty     = 2,
    .rtytim  = 1000u,
		.cmdtype = SET_PARA,
#ifdef SCRIPT_EXE
		.errjmp = NULL,
#endif
};

/********************    SOCKA   ******************************/
static const char cat1_check_socka_cstr[] = "AT+SOCKA\r\n";
static const char cat1_check_socka_rstr[] = "+SOCKA:";//TCP,test.usr.cn,2317
const Cat1_CommandTyp cat1_cmd_check_socka = 
{
    .cstr   = cat1_check_socka_cstr,
    .rstr   = cat1_check_socka_rstr,
    .timout = 3000u,
    .rty    = 2,
    .rtytim = 1000u,
		.cmdtype = CHECK_PARA,
#ifdef SCRIPT_EXE
		.errjmp = NULL,
#endif
};

static const char cat1_set_socka_cstr[] = "AT+SOCKA="; //TCP,test.usr.cn,2317
const Cat1_CommandTyp cat1_cmd_set_socka = 
{
    .cstr    = cat1_set_socka_cstr,
    .rstr    = cat1_ok_rstr,
    .timout  = 3000u,
    .rty     = 2,
    .rtytim  = 1000u,
		.cmdtype = SET_PARA,
#ifdef SCRIPT_EXE
		.errjmp = NULL,
#endif
};

/********************    SOCKAEN   ******************************/
static const char cat1_check_sockaen_cstr[] = "AT+SOCKAEN\r\n";
static const char cat1_check_sockaen_rstr[] = "+SOCKAEN:";
const Cat1_CommandTyp cat1_cmd_check_sockaen = 
{
    .cstr    = cat1_check_sockaen_cstr,
    .rstr    = cat1_check_sockaen_rstr,
    .timout  = 3000u,
    .rty     = 2,
    .rtytim  = 1000u,
		.cmdtype = CHECK_PARA,
#ifdef SCRIPT_EXE
		.errjmp = NULL,
#endif
};

static const char cat1_set_sockaen_cstr[] = "AT+SOCKAEN=";
const Cat1_CommandTyp cat1_cmd_set_sockaen = 
{
    .cstr    = cat1_set_sockaen_cstr,
    .rstr    = cat1_ok_rstr,
    .timout  = 3000u,
    .rty     = 2,
    .rtytim  = 1000u,
		.cmdtype = SET_PARA,
#ifdef SCRIPT_EXE
		.errjmp = NULL,
#endif
};

/********************    SOCKBEN   ******************************/
static const char cat1_check_sockben_cstr[] = "AT+SOCKBEN\r\n";
static const char cat1_check_sockben_rstr[] = "+SOCKBEN:";
const Cat1_CommandTyp cat1_cmd_check_sockben = 
{
    .cstr    = cat1_check_sockben_cstr,
    .rstr    = cat1_check_sockben_rstr,
    .timout  = 3000u,
    .rty     = 2,
    .rtytim  = 1000u,
		.cmdtype = CHECK_PARA,
#ifdef SCRIPT_EXE
		.errjmp = NULL,
#endif
};

static const char cat1_set_sockben_cstr[] = "AT+SOCKBEN=";
const Cat1_CommandTyp cat1_cmd_set_sockben = 
{
    .cstr    = cat1_set_sockben_cstr,
    .rstr    = cat1_ok_rstr,
    .timout  = 3000u,
    .rty     = 2,
    .rtytim  = 1000u,
		.cmdtype = SET_PARA,
#ifdef SCRIPT_EXE
		.errjmp = NULL,
#endif
};

/********************    SOCKALK   ******************************/
static const char cat1_sockalk_cstr[] = "AT+SOCKALK\r\n";
static const char cat1_sockalk_rstr[] = "+SOCKALK:";
const Cat1_CommandTyp cat1_cmd_sockalk = 
{
    .cstr    = cat1_sockalk_cstr,
    .rstr    = cat1_sockalk_rstr,
    .timout  = 3000u,
    .rty     = 2,
    .rtytim  = 1000u,
	  .cmdtype = QUERY_STAT,
#ifdef SCRIPT_EXE
		.errjmp = NULL,
#endif
};

/********************    SOCKASL   ******************************/
static const char cat1_check_sockasl_cstr[] = "AT+SOCKASL\r\n";
static const char cat1_check_sockasl_rstr[] = "+SOCKASL:";
const Cat1_CommandTyp cat1_cmd_check_sockasl = 
{
    .cstr    = cat1_check_sockasl_cstr,
    .rstr    = cat1_check_sockasl_rstr,
    .timout  = 3000u,
    .rty     = 2,
    .rtytim  = 1000u,
		.cmdtype = CHECK_PARA,
#ifdef SCRIPT_EXE
		.errjmp = NULL,
#endif
};

static const char cat1_set_sockasl_cstr[] = "AT+SOCKASL=";
const Cat1_CommandTyp cat1_cmd_set_sockasl = 
{
    .cstr    = cat1_set_sockasl_cstr,
    .rstr    = cat1_ok_rstr,
    .timout  = 3000u,
    .rty     = 2,
    .rtytim  = 1000u,
		.cmdtype = SET_PARA,
#ifdef SCRIPT_EXE
		.errjmp = NULL,
#endif
};

///********************    SOCKATO   ******************************/
//static const char cat1_check_sockato_cstr[] = "AT+SOCKATO\r\n";
//static const char cat1_check_sockato_rstr[] = "+SOCKATO:"; //5
//const Cat1_CommandTyp cat1_cmd_check_sockato = 
//{
//    .cstr    = cat1_check_sockato_cstr,
//    .rstr    = cat1_check_sockato_rstr,
//    .timout  = 3000u,
//    .rty     = 2,
//    .rtytim  = 1000u,
//		.cmdtype = CHECK_PARA,
//#ifdef SCRIPT_EXE
//		.errjmp = NULL,
//#endif
//};

//static const char cat1_set_sockato_cstr[] = "AT+SOCKATO="; //5
//const Cat1_CommandTyp cat1_cmd_set_sockato = 
//{
//    .cstr    = cat1_set_sockato_cstr,
//    .rstr    = cat1_ok_rstr,
//    .timout  = 3000u,
//    .rty     = 2,
//    .rtytim  = 1000u,
//		.cmdtype = SET_PARA,
//#ifdef SCRIPT_EXE
//		.errjmp = NULL,
//#endif
//};

/********************    SOCKRSTIM   ******************************/
static const char cat1_check_sockrstim_cstr[] = "AT+SOCKRSTIM\r\n";
static const char cat1_check_sockrstim_rstr[] = "+SOCKRSTIM:";
const Cat1_CommandTyp cat1_cmd_check_sockrstim = 
{
    .cstr    = cat1_check_sockrstim_cstr,
    .rstr    = cat1_check_sockrstim_rstr,
    .timout  = 3000u,
    .rty     = 2,
    .rtytim  = 1000u,
		.cmdtype = CHECK_PARA,
#ifdef SCRIPT_EXE
		.errjmp = NULL,
#endif
};

static const char cat1_set_sockrstim_cstr[] = "AT+SOCKRSTIM=";
const Cat1_CommandTyp cat1_cmd_set_sockrstim = 
{
    .cstr    = cat1_set_sockrstim_cstr,
    .rstr    = cat1_ok_rstr,
    .timout  = 3000u,
    .rty     = 2,
    .rtytim  = 1000u,
		.cmdtype = SET_PARA,
#ifdef SCRIPT_EXE
		.errjmp = NULL,
#endif
};

/********************    REGEN   ******************************/
static const char cat1_check_regen_cstr[] = "AT+REGEN\r\n";
static const char cat1_check_regen_rstr[] = "+REGEN:"; //5
const Cat1_CommandTyp cat1_cmd_check_regen = 
{
    .cstr    = cat1_check_regen_cstr,
    .rstr    = cat1_check_regen_rstr,
    .timout  = 3000u,
    .rty     = 2,
    .rtytim  = 1000u,
		.cmdtype = CHECK_PARA,
#ifdef SCRIPT_EXE
		.errjmp = NULL,
#endif
};

static const char cat1_set_regen_cstr[] = "AT+REGEN="; //5
const Cat1_CommandTyp cat1_cmd_set_regen = 
{
    .cstr    = cat1_set_regen_cstr,
    .rstr    = cat1_ok_rstr,
    .timout  = 3000u,
    .rty     = 2,
    .rtytim  = 1000u,
		.cmdtype = SET_PARA,
#ifdef SCRIPT_EXE
		.errjmp = NULL,
#endif
};

/********************    REGTP   ******************************/
static const char cat1_check_regtp_cstr[] = "AT+REGTP\r\n";
static const char cat1_check_regtp_rstr[] = "+REGTP:"; //5
const Cat1_CommandTyp cat1_cmd_check_regtp = 
{
    .cstr    = cat1_check_regtp_cstr,
    .rstr    = cat1_check_regtp_rstr,
    .timout  = 3000u,
    .rty     = 2,
    .rtytim  = 1000u,
		.cmdtype = CHECK_PARA,
#ifdef SCRIPT_EXE
		.errjmp = NULL,
#endif
};

static const char cat1_set_regtp_cstr[] = "AT+REGTP="; //5
const Cat1_CommandTyp cat1_cmd_set_regtp = 
{
    .cstr    = cat1_set_regtp_cstr,
    .rstr    = cat1_ok_rstr,
    .timout  = 3000u,
    .rty     = 2,
    .rtytim  = 1000u,
		.cmdtype = SET_PARA,
#ifdef SCRIPT_EXE
		.errjmp = NULL,
#endif
};

/********************    REGDT   ******************************/
static const char cat1_check_regdt_cstr[] = "AT+REGDT\r\n";
static const char cat1_check_regdt_rstr[] = "+REGDT:"; //5
const Cat1_CommandTyp cat1_cmd_check_regdt = 
{
    .cstr    = cat1_check_regdt_cstr,
    .rstr    = cat1_check_regdt_rstr,
    .timout  = 3000u,
    .rty     = 2,
    .rtytim  = 1000u,
		.cmdtype = CHECK_PARA,
#ifdef SCRIPT_EXE
		.errjmp = NULL,
#endif
};

static const char cat1_set_regdt_cstr[] = "AT+REGDT="; //5
const Cat1_CommandTyp cat1_cmd_set_regdt = 
{
    .cstr    = cat1_set_regdt_cstr,
    .rstr    = cat1_ok_rstr,
    .timout  = 3000u,
    .rty     = 2,
    .rtytim  = 1000u,
		.cmdtype = SET_PARA,
#ifdef SCRIPT_EXE
		.errjmp = NULL,
#endif
};

/********************    REGSND   ******************************/
static const char cat1_check_regsnd_cstr[] = "AT+REGSND\r\n";
static const char cat1_check_regsnd_rstr[] = "+REGSND:"; //5
const Cat1_CommandTyp cat1_cmd_check_regsnd = 
{
    .cstr    = cat1_check_regsnd_cstr,
    .rstr    = cat1_check_regsnd_rstr,
    .timout  = 3000u,
    .rty     = 2,
    .rtytim  = 1000u,
		.cmdtype = CHECK_PARA,
#ifdef SCRIPT_EXE
		.errjmp = NULL,
#endif
};

static const char cat1_set_regsnd_cstr[] = "AT+REGSND="; //5
const Cat1_CommandTyp cat1_cmd_set_regsnd = 
{
    .cstr    = cat1_set_regsnd_cstr,
    .rstr    = cat1_ok_rstr,
    .timout  = 3000u,
    .rty     = 2,
    .rtytim  = 1000u,
		.cmdtype = SET_PARA,
#ifdef SCRIPT_EXE
		.errjmp = NULL,
#endif
};

/********************    HEARTEN   ******************************/
static const char cat1_check_hearten_cstr[] = "AT+HEARTEN\r\n";
static const char cat1_check_hearten_rstr[] = "+HEARTEN:"; //5
const Cat1_CommandTyp cat1_cmd_check_hearten = 
{
    .cstr    = cat1_check_hearten_cstr,
    .rstr    = cat1_check_hearten_rstr,
    .timout  = 3000u,
    .rty     = 2,
    .rtytim  = 1000u,
		.cmdtype = CHECK_PARA,
#ifdef SCRIPT_EXE
		.errjmp = NULL,
#endif
};

static const char cat1_set_hearten_cstr[] = "AT+HEARTEN="; //5
const Cat1_CommandTyp cat1_cmd_set_hearten = 
{
    .cstr    = cat1_set_hearten_cstr,
    .rstr    = cat1_ok_rstr,
    .timout  = 3000u,
    .rty     = 2,
    .rtytim  = 1000u,
		.cmdtype = SET_PARA,
#ifdef SCRIPT_EXE
		.errjmp = NULL,
#endif
};

/********************    HEARTTP   ******************************/
static const char cat1_check_hearttp_cstr[] = "AT+HEARTTP\r\n";
static const char cat1_check_hearttp_rstr[] = "+HEARTTP:"; //5
const Cat1_CommandTyp cat1_cmd_check_hearttp = 
{
    .cstr    = cat1_check_hearttp_cstr,
    .rstr    = cat1_check_hearttp_rstr,
    .timout  = 3000u,
    .rty     = 2,
    .rtytim  = 1000u,
		.cmdtype = CHECK_PARA,
#ifdef SCRIPT_EXE
		.errjmp = NULL,
#endif
};

static const char cat1_set_hearttp_cstr[] = "AT+HEARTTP="; //5
const Cat1_CommandTyp cat1_cmd_set_hearttp = 
{
    .cstr    = cat1_set_hearttp_cstr,
    .rstr    = cat1_ok_rstr,
    .timout  = 3000u,
    .rty     = 2,
    .rtytim  = 1000u,
		.cmdtype = SET_PARA,
#ifdef SCRIPT_EXE
		.errjmp = NULL,
#endif
};

/********************    HEARTDT   ******************************/
static const char cat1_check_heartdt_cstr[] = "AT+HEARTDT\r\n";
static const char cat1_check_heartdt_rstr[] = "+HEARTDT:"; //5
const Cat1_CommandTyp cat1_cmd_check_heartdt = 
{
    .cstr    = cat1_check_heartdt_cstr,
    .rstr    = cat1_check_heartdt_rstr,
    .timout  = 3000u,
    .rty     = 2,
    .rtytim  = 1000u,
		.cmdtype = CHECK_PARA,
#ifdef SCRIPT_EXE
		.errjmp = NULL,
#endif
};

static const char cat1_set_heartdt_cstr[] = "AT+HEARTDT="; //5
const Cat1_CommandTyp cat1_cmd_set_heartdt = 
{
    .cstr    = cat1_set_heartdt_cstr,
    .rstr    = cat1_ok_rstr,
    .timout  = 3000u,
    .rty     = 2,
    .rtytim  = 1000u,
		.cmdtype = SET_PARA,
#ifdef SCRIPT_EXE
		.errjmp = NULL,
#endif
};

/********************    HEARTTM   ******************************/
static const char cat1_check_hearttm_cstr[] = "AT+HEARTTM\r\n";
static const char cat1_check_hearttm_rstr[] = "+HEARTTM:"; //5
const Cat1_CommandTyp cat1_cmd_check_hearttm = 
{
    .cstr    = cat1_check_hearttm_cstr,
    .rstr    = cat1_check_hearttm_rstr,
    .timout  = 3000u,
    .rty     = 2,
    .rtytim  = 1000u,
		.cmdtype = CHECK_PARA,
#ifdef SCRIPT_EXE
		.errjmp = NULL,
#endif
};

static const char cat1_set_hearttm_cstr[] = "AT+HEARTTM="; //5
const Cat1_CommandTyp cat1_cmd_set_hearttm = 
{
    .cstr    = cat1_set_hearttm_cstr,
    .rstr    = cat1_ok_rstr,
    .timout  = 3000u,
    .rty     = 2,
    .rtytim  = 1000u,
		.cmdtype = SET_PARA,
#ifdef SCRIPT_EXE
		.errjmp = NULL,
#endif
};
